package com.googlecode.moneyManager.utils;


public class Assert extends org.springframework.util.Assert {
    /**
     * Assert that an object is <code>null</code> .
     * <pre class="code">Assert.isNull(value, new IllegalArgumentException);</pre>
     *
     * @param object  the object to check
     * @throws RuntimeException if the object is not <code>null</code>
     */

    public static void notNull(Object object, RuntimeException e) {
        if (object == null) {
            throw e;
        }
    }

}
